package com.ciei.dpagm.controller;

import com.alibaba.fastjson.JSONObject;
import com.ciei.dpagm.common.controller.BaseController;
import com.ciei.dpagm.service.ChipControlModeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author pp
 * @date 2023/05/10
 */
@Controller
@RequestMapping("chipControlMode")
public class ChipControlModeController extends BaseController {

    @Autowired
    private ChipControlModeService chipControlModeService;

    @RequestMapping("getOptionList")
    @ResponseBody
    public JSONObject getOptionList(@RequestBody JSONObject data) {
        return chipControlModeService.getOptionList(data);
    }
}
